inspector: Fix teardown of the general tab
authorMatthias Clasen <mclasen@redhat.com>
Sun, 6 Sep 2020 02:35:30 +0000 (22:35 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 6 Sep 2020 02:35:30 +0000 (22:35 -0400)
commita4ba25f0f8e081ae763096c5b1d5842a072d6695
tree7d6252511d2942a3cc121a7c53e41ee7cdfc8507
parent716c7b2f217b9852fa446b4566180ae10f48f618
inspector: Fix teardown of the general tab

We were connecting signal handlers to the display
and seats here, and never cleaning them up, leading
to crashes after the inspector is closed. This is
fairly easy to reproduce under Wayland, where the
scroll device is only created the first time we
create a scroll event.
gtk/inspector/general.c